package com.example.badyloans.servlet;

import com.example.badyloans.common.ReturnResult;
import com.example.badyloans.pojo.AddBidCondition;
import com.example.badyloans.pojo.TBid;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TBidService{


    int deleteByPrimaryKey(String id);

    int insertSelective(TBid record);

    TBid selectByPrimaryKey(String id);

    TBid selectByPrimary1(String borrowid);

    List<TBid> selectByPrimary2(String borrowid);

    List<TBid> selectByPrimary3(String borrowstate);

    int count();

    List<TBid> selectBYPrimaryKey1(String borrowid, Integer currentPageNo,
                                   Integer pageSize);

    int updateByPrimaryKeySelective(TBid record);

    ReturnResult addBid(TBid tBid);

    TBid selectone(String borrowId,String bidUserId);

    Boolean selecttwo(TBid tBid);

}
